package com.rico.converter;

import com.rico.beans.User;
import org.springframework.core.convert.converter.Converter;

import java.util.Date;

public class DateConverter implements Converter<String, Date> {

    @Override
    public Date convert(String source) {
        System.out.println("convert method of class DateConverter:"+source);
        return new Date();
    }
}